package model.lesson
{
	public class LearnEnglishModel
	{
		public var leanWords:Vector.<EnglishWordVo>;
		
		public var lessondata:LessonVo;
		
		public var classlevel:ClassLevelVo;
		
		private static var _instance:LearnEnglishModel;
		public static function get instance():LearnEnglishModel
		{
			if(_instance == null)
				_instance = new LearnEnglishModel();
			return _instance;
		}
		
		
		public function LearnEnglishModel()
		{
			
		}
		
		public function initLearnData(wordlist:Array):void
		{
			leanWords = new Vector.<EnglishWordVo>();
			
			for(var i:int=0;i < wordlist.length;i++)
			{
				var word:EnglishWordVo = new EnglishWordVo(wordlist[i]);
				
				leanWords.push(word);
			}
		}
	}
}